/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* E.P. Scene Graph
* Developed by:
*       - Eduardo Ribeiro (eribeiro @ tecgraf . puc-rio . br)
*       - Peter Dam (peter @ tecgraf . puc-rio . br)
* File: Sphere.h
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _EPSG_SPHERE_
#define _EPSG_SPHERE_

#include "EPSG/Prototypes.h"
#include "EPSG/Shape.h"

namespace EPSG
{
	class Sphere : public Shape
	{
	public:
		/* [CONSTRUCTOR] */	Sphere();
		/* [DESTRUCTOR] */	~Sphere();

		virtual void		draw( bool autoTexCoord = true );

		void				setRadius( float radius );
		void				setSlices( int slices );
		void				setStacks( int stacks );

	private:
		GLUquadricObj*		_quadric;
		float				_radius;
		int					_slices;
		int					_stacks;
	};
}

#endif //_EPSG_SPHERE_